<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<title>任务发布平台 - 外咖APP</title>
		<link rel="shortcut icon" href="/static/img/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" href="http://at.alicdn.com/t/font_tnyc012u2rlwstt9.css" />
		<link rel="stylesheet" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" href="/static/css/taskList.css" />
	</head>

	<body class="childrenBody">
		<blockquote class="layui-elem-quote layui-form">
			<div class="layui-inline">
				<div class="layui-input-inline">
					<select id="taskState">
						<option value="-1">请选择任务状态</option>
						<option value="0">待接单</option>
						<option value="1">进行中</option>
						<option value="2">已提交审核</option>
						<option value="3">已完结</option>
					</select>
				</div>
				<div class="layui-input-inline">
					<input type="text" id="searchKeyword" style="width: 300px;" placeholder="请输入任务关键字" class="layui-input" autocomplete="off">
				</div>
				<div class="layui-input-inline">
					<a class="layui-btn search_btn">
						<i class="layui-icon">&#xe615;</i>查询
					</a>
				</div>
				<div class="layui-inline">
					<a class="layui-btn layui-btn-normal add_btn" href="/newBizJobs">
						<i class="layui-icon">&#xe61f;</i>新建任务
					</a>
				</div>
		</blockquote>
		<div class="layui-form">
			<table class="layui-table">
				<colgroup>
					<col>
					<col width="20%">
					<col width="20%">
				</colgroup>
				<thead>
					<tr style="background-color: lightgray;">
						<th class="task-title" style="font-weight: bold;">任务标题</th>
						<th style="font-weight: bold;">任务状态</th>
						<th style="font-weight: bold;">发布时间</th>
					</tr>
				</thead>
				<tbody id="task_content"></tbody>
			</table>
		</div>

		<div id="page_info" style="padding-bottom: 8%;">
			<div id="pagination_overview"></div>
			<div id="page_nav_div" style="float: right;margin-right: 30px;"></div>
		</div>

		<script type="text/javascript" src="/static/layui/layui.all.js"></script>
		<script type="text/javascript" src="/static/js/bizJobsList.js"></script>
	</body>

</html>